package com.tonicgb.api.admin.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author zhaiyujin
 * @date 2021-09-06 16:23:38
 * @说明 登录请求信息
 */
@ApiModel(value = "LoginRequest对象",description="后台管理员登录")
@Data
public class LoginRequest  {
    @ApiModelProperty(value = "用户名")
    @NotBlank(message = "用户名不能为空")
    private String name;
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码")
    private String pwd;
}
